package com.quxian.chambercommerce.service;

import java.util.List;
import java.util.Map;

import com.quxian.chambercommerce.bean.TypeGroupEntity;
import com.quxian.chambercommerce.bean.TypeItemEntity;

public interface TypeManageService {

	public List<TypeGroupEntity> getAllType() throws Exception;
	
	public void deleteGroupById(Integer id) throws Exception;
	
	public List<TypeItemEntity> selectItemByGroup(Integer groupId) throws Exception;
	
	public void insterItem(TypeItemEntity entity) throws Exception;
	
	public void deleteItemByGroup(Integer groupId) throws Exception;
	
	public void deleteItemById(Integer id) throws Exception;
	
	public void updateTypeItem(Map<String,Object> map) throws Exception;
}
